# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.

{
    'name': 'Accounting Tags for Report Sheet',
    'version': '1.0',
    'category': 'Accounting',
    'summary': 'Accounting Tags for Report Sheet',
    'author': 'odoowww@163.com',
    #'website': 'https://www.odoowww.com',
    'description': """
Accounting Tags
===========================================================================
科目表 增加 总账科目
科目标签 增加 资产负债表/利润表 标签，汇总自哪些科目
该模块是 account 补丁

科目模版上定义一些特定功能的科目
目标包括：
结转利润的目标科目: 本期利润
增值税免税收入科目:
增值税不抵扣费用科目:
其他税的费用科目
库存-原材料
库存-库存商品
库存-盘点盈亏-原材料/库存商品
生产成本
应付职工薪酬
其他应付款
个人所得税




2019-5-28


This module extend Accounting Tags for account report sheet: balance, profit sheet.
     1st: create db with my company
     2nd: install account module.
          china standard chart_template  if select country
          no chart_template  if select no country
     3rd: install this module -- Accounting Balance
     4th: choice china small business chart_template
          so create date in model -- account.account
          so set tag_ids in model -- account.account

account.account:
1. add 2 fields: general code and name
2. set tag_ids

account.account.tag:
1. balance sheet item store in here
2. balance sheet item is group of account.account
3. detail account type is set in here

account.sub.account:
1. A sub_account_id composed of
   account_id + ( partner_id | product_id | analytic_account_id | journal_id)
2. account_id = 1002 bank, detail type = bank, journal_id
2. account_id = 1122 应收,  detail type = partner, partner
2. account_id = 1405 库存商品, detail type = product, product_id
2. account_id = ?, detail type = analytic, analytic_account_id


    """,
    'depends': ['base','account' ],
    'data': [
    ],
    'demo': [
        #
        #
    ],
    'installable': True,
    'auto_install': True,
}
